
from package.detect_code import GetPicture

def movie_video_frame_analyse(vdop):

    pathy = vdop
    timefsec = 2

    dict = {"n1": 27, "n2": 27,
            "retvalB": 0.9, "retvalR": 0.9, "retvalG": 0.9,
            "sim": 0.51,
            "xsdnmaa": 8,
            "test_num": 2
            }


    getp=GetPicture(n1=dict.get("n1"),n2=dict.get("n2"),
                    retvalB=dict.get("retvalB"),retvalR=dict.get("retvalR"),retvalG=dict.get("retvalG"),
                    sim=dict.get("sim"),xsdnmaa=dict.get("xsdnmaa"),timefsec=timefsec,videopath=pathy)

    getp.get_picture(dict.get("test_num"))
if __name__ == '__main__':
    pass